package org.jgs1904.AbstractFactory.impl;

import org.jgs1904.AbstractFactory.AbstractHumanFactory;
import org.jgs1904.AbstractFactory.Man;
import org.jgs1904.AbstractFactory.Woman;
import org.jgs1904.AbstractFactory.iextends.BlackMan;
import org.jgs1904.AbstractFactory.iextends.BlackWoman;

/**
 * @author 墨苍璃
 * @date 2023年07月10日15时35分
 * <p>
 * 具体人种 实现工厂
 */
public class BlackHumanFactory implements AbstractHumanFactory {

    @Override
    public Man creatMan() {
        return new BlackMan();
    }

    @Override
    public Woman creatWoman() {
        return new BlackWoman();
    }

}



